HAL2 Migrator HAL2 Migrator HAL2 Migrator Go to parent
/
ST Online Support

Table Of Contents

  • HAL1 to HAL2 - migration guide
  • Getting started
  • HAL1 detection
    • HAL1 automatic detection script
    • Script scope
    • Script setup and usage
    • Script stubbing features
  • HAL1-to-HAL2 driver migration
    • Breaking changes in concepts
      • Optimized initialization and configuration APIs
      • Unitary configuration methods
      • Specialized clock and IRQ management in HAL2
      • HAL implementation built upon LL services
      • Improved driver mechanisms
      • Enhanced control services
      • New coding rules
      • Optimized input checks
      • HAL refactoring
      • Enhanced asserts
      • Flash driver refactoring
      • RTOS-aware HAL
      • Misc. updates
    • HAL driver migration
      • ADC
        • HAL ADC migration: List of applicable concepts
        • Typical HAL ADC use cases for migration
        • HAL ADC constant migration
        • HAL ADC macro migration
        • HAL ADC type migration
        • HAL ADC initialization and configuration functions migration
        • HAL ADC I/O operation function migration
        • HAL ADC control function migration
        • HAL ADC state and error function migration
        • HAL ADC APIs listing for migration
      • CCB
        • HAL CCB migration: List of applicable concepts
        • Typical HAL CCB use cases for migration
        • HAL CCB constants migration
        • HAL CCB types migration
        • HAL CCB initialization and configuration functions migration
        • HAL CCB function migration
        • HAL CCB state and error functions migration
        • HAL CCB APIs listing for migration
      • CEC
        • HAL CEC migration: List of applicable concepts
        • Typical HAL CEC use cases for migration
        • HAL CEC constants migration
        • HAL CEC macros migration
        • HAL CEC types migration
        • HAL CEC initialization and configuration functions migration
        • HAL CEC I/O operation functions migration
        • HAL CEC IRQ handler and callbacks functions migration
        • HAL CEC state functions migration
        • HAL CEC APIs listing for migration
      • COMP
        • HAL COMP migration: List of applicable concepts
        • Typical HAL COMP use cases for migration
        • HAL COMP constants migration
        • HAL COMP macros migration
        • HAL COMP types migration
        • HAL COMP initialization and configuration functions migration
        • HAL COMP io operation functions migration
        • HAL COMP control functions migration
        • HAL COMP state and error functions migration
        • HAL COMP APIs listing for migration
      • CORDIC
        • HAL CORDIC migration: List of applicable concepts
        • Typical HAL CORDIC use cases for migration
        • HAL CORDIC constants migration
        • HAL CORDIC macros migration
        • HAL CORDIC types migration
        • HAL CORDIC initialization and configuration functions migration
        • HAL CORDIC control functions migration
        • HAL CORDIC irq handler and callbacks functions migration
        • HAL CORDIC state and error functions migration
        • HAL CORDIC APIs listing for migration
      • CORTEX
        • HAL CORTEX migration: List of applicable concepts
        • Typical HAL CORTEX use cases for migration
        • HAL CORTEX constants migration
        • HAL CORTEX macro migration
        • HAL CORTEX types migration
        • HAL CORTEX initialization and configuration functions migration
        • HAL CORTEX NVIC functions migration
        • HAL CORTEX SYSTICK functions migration
        • HAL CORTEX MPU functions migration
        • HAL CORTEX APIs listing for migration
      • CRC
        • HAL CRC migration: List of applicable concepts
        • Typical HAL CRC use cases for migration
        • HAL CRC constants migration
        • HAL CRC macro migration
        • HAL CRC types migration
        • HAL CRC initialization and configuration functions migration
        • HAL CRC control functions migration
        • HAL CRC state functions migration
        • HAL CRC APIs listing for migration
      • CRYP
        • HAL CRYP migration: List of applicable concepts
        • HAL CRYP typical use cases for migration
        • HAL CRYP exported constants
        • HAL CRYP exported macros
        • HAL CRYP exported types
        • HAL CRYP exported functions init config
        • HAL CRYP exported functions io operation
        • HAL CRYP exported functions irq handler and callbacks
        • HAL CRYP exported functions state and error
        • HAL CRYP APIs listing for migration
      • DAC
        • HAL DAC migration: List of applicable concepts
        • Typical HAL DAC use cases for migration
        • HAL DAC constants migration
        • HAL DAC macro migration
        • HAL DAC types migration
        • HAL DAC initialization and configuration functions migration
        • HAL DAC io operation functions migration
        • HAL DAC control functions migration
        • HAL DAC IRQ Handler and Callbacks Functions Migration
        • HAL DAC state and error functions migration
        • HAL DAC APIs listing for migration
      • DCACHE
        • HAL DCACHE migration: List of applicable concepts
        • Typical HAL DCACHE use cases for migration
        • HAL DCACHE constants migration
        • HAL DCACHE macro migration
        • HAL DCACHE types migration
        • HAL DCACHE initialization and configuration functions migration
        • HAL DCACHE functions I/O operation migration
        • HAL DCACHE IRQ Handler and Callbacks functions migration
        • HAL DCACHE functions state and error migration
        • HAL DCACHE APIs listing for migration
      • DCMI
        • HAL DCMI migration: List of applicable concepts
        • Typical HAL DCMI use cases for migration
        • HAL DCMI constants migration
        • HAL DCMI macros migration
        • HAL DCMI types migration
        • HAL DCMI initialization and configuration functions migration
        • HAL DCMI I/O operation functions migration
        • HAL DCMI control functions migration
        • HAL DCMI IRQ handler and callbacks functions migration
        • HAL DCMI state and error functions migration
        • HAL DCMI APIs listing for migration
      • DMA
        • HAL DMA migration: List of applicable concepts
        • Typical HAL DMA use cases for migration
        • HAL DMA constants migration
        • HAL DMA macro migration
        • HAL DMA types migration
        • HAL DMA initialization and configuration functions migration
        • HAL DMA io operation functions migration
        • HAL DMA linked-list management functions migration
        • HAL DMA IRQ Handler and Callbacks Functions Migration
        • HAL DMA state and error functions migration
        • HAL DMA secure attributes settings functions migration
        • HAL DMA APIs listing for migration
      • DMA2D
        • HAL DMA2D migration: List of applicable concepts
        • Typical HAL DMA2D use cases for migration
        • HAL DMA2D constants migration
        • HAL DMA2D macros migration
        • HAL DMA2D types migration
        • HAL DMA2D initialization and configuration functions migration
        • HAL DMA2D control functions
        • HAL DMA2D I/O operation functions
        • DMA2D IRQ handler and callbacks functions migration
        • HAL DMA2D state and error functions migration
        • HAL DMA2D APIs listing for migration
      • DTS
        • HAL DTS migration: List of applicable concepts
        • Typical HAL DTS use cases for migration
        • HAL DTS constants migration
        • HAL DTS macros migration
        • HAL DTS types migration
        • HAL DTS initialization and configuration functions migration
        • HAL DTS I/O operation functions
        • HAL DTS callbacks register/unregister functions
        • HAL DTS APIs listing for migration
      • EXTI
        • HAL EXTI migration: List of applicable concepts
        • Typical HAL EXTI use cases for migration
        • HAL EXTI constants migration
        • HAL EXTI types migration
        • HAL EXTI initialization and configuration functions migration
        • HAL EXTI configuration functions
        • HAL EXTI IO operation functions
        • HAL EXTI APIs listing for migration
      • FDCAN
        • HAL FDCAN migration: List of applicable concepts
        • Typical HAL FDCAN use cases for migration
        • HAL FDCAN constants migration
        • HAL FDCAN macros migration
        • HAL FDCAN types migration
        • HAL FDCAN initialization and configuration functions migration
        • HAL FDCAN I/O operation functions migration
        • HAL FDCAN IRQ Handler and Callbacks Functions Migration
        • HAL FDCAN state and error functions migration
        • HAL FDCAN APIs listing for migration
      • FLASH
        • HAL FLASH migration: List of applicable concepts
        • Typical HAL FLASH use cases for migration
        • HAL FLASH constants migration
        • HAL FLASH macros migration
        • HAL FLASH types migration
        • HAL FLASH initialization and configuration functions migration
        • HAL FLASH IO function migration
        • HAL FLASH ITF function migration
        • HAL FLASH APIs listing for migration
      • FMAC
        • HAL FMAC migration: List of applicable concepts
        • Typical HAL FMAC use cases for migration
        • HAL FMAC constants migration
        • HAL FMAC macros migration
        • HAL FMAC types migration
        • HAL FMAC initialization and configuration functions migration
        • HAL FMAC state and error functions migration
        • HAL FMAC I/O operation function migration
        • HAL FMAC IRQ Handler and Callbacks function migration
        • HAL FMAC APIs listing for migration
      • GENERIC
        • HAL GENERIC migration: List of applicable concepts
        • Typical HAL GENERIC use cases for migration
        • HAL GENERIC constants migration
        • HAL GENERIC macro migration
        • HAL GENERIC types migration
        • HAL GENERIC initialization and control functions migration
        • HAL GENERIC APIs listing for migration
      • GFXMMU
        • HAL GFXMMU migration: List of applicable concepts
        • Typical HAL GFXMMU use cases for migration
        • HAL GFXMMU constants migration
        • HAL GFXMMU macro migration
        • HAL GFXMMU types migration
        • HAL GFXMMU initialization and configuration functions migration
        • HAL GFXMMU I/O operations migration
        • HAL GFXMMU IRQ handler and callbacks functions migration
        • HAL GFXMMU state and error functions migration
        • HAL GFXMMU APIs listing for migration
      • GFXTIM
        • HAL GFXTIM migration: List of applicable concepts
        • HAL GFXTIM typical use cases for migration
        • HAL GFXTIM constants migration
        • HAL GFXTIM macro migration
        • HAL GFXTIM types migration
        • HAL GFXTIM initialization and configuration functions migration
        • HAL GFXTIM I/O operations migration
        • HAL GFXTIM IRQ handler and callbacks functions migration
        • HAL GFXTIM state and error functions migration
        • HAL GFXTIM APIs listing for migration
      • GPIO
        • HAL GPIO migration: List of applicable concepts
        • Typical HAL GPIO use cases for migration
        • HAL GPIO constants migration
        • HAL GPIO macro migration
        • HAL GPIO types migration
        • HAL GPIO initialization and configuration functions migration
        • HAL GPIO io operation functions migration
        • HAL GPIO APIs listing for migration
      • HASH
        • HAL HASH migration: List of applicable concepts
        • Typical HAL HASH use cases for migration
        • HAL HASH constants migration
        • HAL HASH macro migration
        • HAL HASH types migration
        • HAL HASH initialization and configuration functions migration
        • HAL HASH I/O operations migration
        • HAL HASH IRQ handler and callbacks functions migration
        • HAL HASH state and error functions migration
        • HAL HASH APIs listing for migration
      • HRTIM
        • HAL HRTIM migration: List of applicable concepts
        • Typical HAL HRTIM use cases for migration
        • HAL HRTIM constants migration
        • HAL HRTIM macros migration
        • HAL HRTIM types migration
        • HAL HRTIM initialization and configuration functions migration
        • HAL HRTIM function migration
        • HAL HRTIM callbacks irq and Callbacks functions
        • HAL HRTIM APIs listing for migration
      • HSEM
        • HAL HSEM migration: List of applicable concepts
        • HAL HSEM Typical use cases for migration
        • HAL HSEM macros migration
        • HAL HSEM initialization and configuration functions migration
        • HAL HSEM function migration
        • HAL HSEM IRQ handler and callback functions migration
        • HAL HSEM APIs listing for migration
      • I2C
        • HAL I2C migration: List of applicable concepts
        • Typical HAL I2C use cases for migration
        • HAL I2C constants migration
        • HAL I2C macro migration
        • HAL I2C types migration
        • HAL I2C initialization and configuration functions migration
        • HAL I2C io operation functions migration
        • HAL I2C IRQ handler and callbacks functions migration
        • HAL I2C state and error functions migration
        • HAL I2C APIs listing for migration
      • I2S
        • HAL I2S migration: List of applicable concepts
        • Typical HAL I2S use cases for migration
        • HAL I2S constants migration
        • HAL I2S macro migration
        • HAL I2S types migration
        • HAL I2S initialization and configuration functions migration
        • HAL I2S io operation functions migration
        • HAL I2S IRQ handler and callbacks functions migration
        • HAL I2S state and error functions migration
        • HAL I2S APIs listing for migration
      • I3C
        • HAL I3C migration: List of applicable concepts
        • Typical HAL I3C use cases for migration
        • HAL I3C constants migration
        • HAL I3C macros migration
        • HAL I3C types migration
        • HAL I3C initialization and configuration functions migration
        • HAL I3C I/O operation functions migration
        • HAL I3C IRQ handler and callbacks functions migration
        • HAL I3C state and error functions migration
        • HAL I3C APIs listing for migration
      • ICACHE
        • HAL ICACHE migration: List of applicable concepts
        • Typical HAL ICACHE use cases for migration
        • HAL ICACHE constants migration
        • HAL ICACHE macro migration
        • HAL ICACHE types migration
        • HAL ICACHE initialization and configuration functions migration
        • HAL ICACHE control functions migration
        • HAL ICACHE memory remapped regions functions migration
        • HAL ICACHE IRQHandler and callbacks functions migration
        • HAL ICACHE APIs listing for migration
      • IRDA
        • HAL IRDA migration: List of applicable concepts
        • Typical HAL IRDA use cases for migration
        • HAL IRDA constants migration
        • HAL IRDA macro migration
        • HAL IRDA types migration
        • HAL IRDA initialization and configuration functions migration
        • HAL IRDA I/O operations migration
        • HAL IRDA state and error functions migration
        • HAL IRDA APIs listing for migration
      • IWDG
        • HAL IWDG migration: List of applicable concepts
        • HAL IWDG typical use cases for migration
        • HAL IWDG constants migration
        • HAL IWDG macro migration
        • HAL IWDG types migration
        • HAL IWDG initialization and configuration functions migration
        • HAL IWDG io operation functions migration
        • HAL IWDG Callbacks Register/Unregister functions migration
        • HAL IWDG APIs listing for migration
      • JPEG
        • HAL JPEG migration: list of applicable concepts
        • HAL JPEG Typical use cases for migration
        • HAL JPEG constants migration
        • HAL JPEG macros migration
        • HAL JPEG types migration
        • HAL JPEG initialization and configuration functions migration
        • HAL JPEG I/O operations migration
        • HAL JPEG IRQ handler and callbacks functions migration
        • HAL JPEG state and error functions migration
        • HAL JPEG APIs listing for migration
      • LPTIM
        • HAL LPTIM migration: List of applicable concepts
        • Typical HAL LPTIM use cases for migration
        • HAL LPTIM constants migration
        • HAL LPTIM macro migration
        • HAL LPTIM types migration
        • HAL LPTIM I/O functions migration
        • HAL LPTIM functions IRQHandler and callbacks migration
        • HAL LPTIM function migration
        • HAL LPTIM initialization and configuration functions migration
        • HAL LPTIM APIs listing for migration
      • LTDC
        • HAL LTDC migration: List of applicable concepts
        • HAL LTDC Typical use cases for migration
        • HAL LTDC constants migration
        • HAL LTDC macros migration
        • HAL LTDC type migration
        • HAL LTDC initialization and configuration functions migration
        • HAL LTDC control functions
        • HAL LTDC IRQ handler and callbacks functions migration
        • HAL LTDC state and error functions migration
        • HAL LTDC APIs listing for migration
      • MDF
        • HAL MDF migration: List of applicable concepts
        • HAL MDF Typical use cases for migration
        • HAL MDF constants migration
        • HAL MDF macros migration
        • HAL MDF types migration
        • HAL MDF initialization and configuration functions migration
        • HAL ADF initialization and configuration functions migration
        • HAL MDF I/O operations migration
        • HAL MDF IRQ handler and callbacks functions migration
        • HAL MDF state and error functions migration
        • HAL MDF APIs listing for migration
      • MMC
        • HAL MMC migration: List of applicable concepts
        • HAL MMC typical use cases for migration
        • HAL MMC constants migration
        • HAL MMC macro migration
        • HAL MMC types migration
        • HAL MMC initialization and configuration functions migration
        • HAL MMC I/O operation functions
        • HAL MMC interrupt handler and callbacks
        • HAL MMC peripheral control functions
        • HAL MMC state and error functions
        • HAL MMC APIs listing for migration
      • NAND
        • HAL NAND migration: List of applicable concepts
        • HAL NAND typical use cases for migration
        • HAL NAND macros migration
        • HAL NAND types migration
        • HAL NAND initialization and configuration functions migration
        • HAL NAND IO Operation functions migration
        • HAL NAND Callbacks functions migration
        • HAL NAND State function migration
        • HAL NAND APIs listing for migration
      • NOR
        • HAL NOR migration: List of applicable concepts
        • Typical HAL NOR use cases for migration
        • HAL NOR Macros migration
        • HAL NOR Types migration
        • HAL FMC NOR initialization and configuration functions migration
        • HAL NOR IO Operation functions migration
        • HAL NOR Control functions migration
        • HAL NOR Callbacks functions migration
        • HAL NOR State function migration
        • HAL NOR APIs listing for migration
      • OPAMP
        • HAL OPAMP migration: List of applicable concepts
        • Typical HAL OPAMP use cases for migration
        • HAL OPAMP constants migration
        • HAL OPAMP macros migration
        • HAL OPAMP types migration
        • HAL OPAMP initialization and configuration functions migration
        • HAL OPAMP io operation function migration
        • HAL OPAMP callback function migration
        • HAL OPAMP control function migration
        • HAL OPAMP state function migration
        • HAL OPAMP APIs listing for migration
      • OSPI
        • HAL OSPI migration: List of applicable concepts
        • Typical HAL OSPI use cases for migration
        • HAL OSPI constants migration
        • HAL OSPI macro migration
        • HAL OSPI types migration
        • HAL OSPI initialization and configuration functions migration
        • HAL OSPI IO function migration
        • HAL OSPI state and control functions migration
        • HAL OSPI delay block functions migration
        • HAL OSPI callback functions migration
        • HAL OSPI APIs listing for migration
      • OTFDEC
        • HAL OTFDEC migration: List of applicable concepts
        • HAL OTFDEC migration: Typical use cases
        • HAL OTFDEC constants migration
        • HAL OTFDEC migration: Exported macros
        • HAL OTFDEC migration: Exported types
        • HAL OTFDEC initialization and configuration functions migration
        • HAL OTFDEC IRQ handler and callbacks functions migration
        • HAL OTFDEC migration: Exported functions
        • HAL OTFDEC migration: APIs listing
      • PKA
        • HAL PKA migration: List of applicable concepts
        • Typical HAL PKA use cases for migration
        • HAL PKA constants migration
        • HAL PKA macros migration
        • HAL PKA types migration
        • HAL PKA initialization and configuration functions migration
        • HAL PKA io operation functions migration
        • HAL PKA IRQ handler and callbacks functions migration
        • HAL PKA state and error functions migration
        • HAL PKA APIs listing for migration
      • PLAY
        • HAL PLAY migration: list of applicable concepts
        • HAL PLAY Typical use cases for migration
        • HAL PLAY constants migration
        • HAL PLAY macros migration
        • HAL PLAY types migration
        • HAL PLAY initialization and configuration functions migration
        • HAL PLAY I/O operation functions migration
        • HAL PLAY IRQ handler and callbacks functions migration
        • HAL PLAY state and error functions migration
        • HAL PLAY secure attributes settings functions migration
        • HAL PLAY APIs listing for migration
      • PSSI
        • HAL PSSI migration: List of applicable concepts
        • HAL PSSI Typical use cases for migration
        • HAL PSSI constants migration
        • HAL PSSI macros migration
        • HAL PSSI types migration
        • HAL PSSI initialization and configuration functions migration
        • HAL PSSI IO function migration
        • HAL PSSI functions IRQ handler and callbacks migration
        • HAL PSSI functions state and error migration
        • HAL PSSI APIs listing for migration
      • PWR
        • HAL PWR migration: List of applicable concepts
        • HAL PWR typical use cases for migration
        • HAL PWR constants migration
        • HAL PWR macros migration
        • HAL PWR types migration
        • HAL PWR initialization and configuration functions migration
        • HAL PWR IRQ Handler and Callbacks Functions Migration
        • HAL PWR control function migration
        • HAL PWR voltage monitoring functions migration
        • HAL PWR supply control functions migration
        • HAL PWR low power control functions migration
        • HAL PWR pullUp pullDown configuration functions migration
        • HAL PWR memories retention functions migration
        • HAL PWR IO and JTAG retention functions migration
        • HAL PWR APIs listing for migration
      • QSPI
        • HAL QSPI migration: List of applicable concepts
        • Typical HAL QSPI use cases for migration
        • HAL QSPI constants migration
        • HAL QSPI macro migration
        • HAL QSPI types migration
        • HAL QSPI initialization and configuration functions migration
        • HAL QSPI IO functions migration
        • HAL QSPI control and state functions migration
        • HAL QSPI callback functions migration
        • HAL QSPI APIs listing for migration
      • RAMCFG
        • HAL RAMCFG migration: List of applicable concepts
        • HAL RAMCFG typical use cases for migration
        • HAL RAMCFG constants migration
        • HAL RAMCFG macro migration
        • HAL RAMCFG types migration
        • HAL RAMCFG initialization and configuration functions migration
        • HAL RAMCFG function migration
        • HAL RAMCFG IRQHandler and callbacks functions migration
        • HAL RAMCFG state and error functions migration
        • HAL RAMCFG APIs listing for migration
      • RAMECC
        • HAL RAMECC migration: List of applicable concepts
        • HAL RAMECC Typical use cases for migration
        • HAL RAMECC constants migration
        • HAL RAMECC macros migration
        • HAL RAMECC types migration
        • HAL RAMECC initialization and configuration functions migration
        • HAL RAMECC handle interrupt and callbacks functions migration
        • HAL RAMECC monitoring operation functions migration
        • HAL RAMECC state and error functions migration
        • HAL RAMECC APIs listing for migration
      • RCC
        • HAL RCC migration: List of applicable concepts
        • HAL RCC Typical use cases for migration
        • HAL RCC constants migration
        • HAL RCC macro migration
        • HAL RCC types migration
        • HAL RCC Initialization and de-initialization functions
        • HAL RCC control functions migration
        • HAL RCC PLL functions migration
        • HAL RCC Function services
        • HAL RCC clock recovery system (CRS) function control
        • HAL RCC secure attributes settings functions migration
        • HAL RCC APIs listing for migration
      • RNG
        • HAL RNG migration: List of applicable concepts
        • Typical HAL RNG use cases for migration
        • HAL RNG constants migration
        • HAL RNG macro migration
        • HAL RNG types migration
        • HAL RNG initialization and configuration functions migration
        • HAL RNG configuration functions migration
        • HAL RNG control functions migration
        • HAL RNG IRQ Handler and Callbacks Functions Migration
        • HAL RNG state and error functions migration
        • HAL RNG APIs listing for migration
      • RTC
        • HAL RTC migration: List of applicable concepts
        • HAL RTC Typical use cases for migration
        • HAL RTC constants migration
        • HAL RTC macro migration
        • HAL RTC types migration
        • HAL RTC initialization and configuration functions migration
        • HAL RTC time and date functions migration
        • HAL RTC alarm functions migration
        • HAL RTC control functions migration
        • HAL RTC state functions migration
        • HAL RTC TimeStamp functions migration
        • HAL RTC wake-up functions migration
        • HAL RTC tamper functions migration
        • HAL RTC backup functions migration
        • HAL RTC Secure and Privilege functions migration
        • HAL RTC APIs listing for migration
      • SAI
        • HAL SAI migration: List of applicable concepts
        • HAL SAI typical use cases for migration
        • HAL SAI constants migration
        • HAL SAI macros migration
        • HAL SAI types migration
        • HAL SAI initialization and configuration functions migration
        • HAL SAI I/O operation function migration
        • HAL SAI control functions migration
        • HAL SAI IRQ handler and callbacks functions migration
        • HAL SAI state and error functions migration
        • HAL SAI APIs listing for migration
      • SD
        • HAL SD migration: List of applicable concepts
        • HAL SD typical use cases for migration
        • HAL SD constants migration
        • HAL SD macros migration
        • HAL SD types migration
        • HAL SD initialization and configuration functions migration
        • HAL SD I/O operation functions
        • HAL SD peripheral control functions
        • HAL SD interrupt handler and callbacks
        • HAL SD state and error functions
        • HAL SD APIs listing for migration
      • SDIO
        • HAL SDIO migration: List of applicable concepts
        • HAL SDIO Typical use cases for migration
        • HAL SDIO constants migration
        • HAL SDIO macros migration
        • HAL SDIO types migration
        • HAL SDIO initialization and configuration functions migration
        • HAL SDIO I/O operation functions
        • HAL SDIO peripheral control functions
        • HAL SDIO interrupt handler and callbacks
        • HAL SDIO state and error functions
        • HAL SDIO APIs listing for migration
      • SDRAM
        • HAL SDRAM migration: List of applicable concepts
        • Typical HAL SDRAM use cases for migration
        • HAL SDRAM macro migration
        • HAL SDRAM types migration
        • HAL SDRAM initialization and configuration functions migration
        • HAL SDRAM IO operation functions migration
        • HAL SDRAM control functions migration
        • HAL SDRAM IRQ handler and callbacks functions migration
        • HAL SDRAM State functions migration
        • HAL SDRAM APIs listing for migration
      • SMARTCARD
        • HAL SMARTCARD migration: List of applicable concepts
        • Typical HAL SMARTCARD use cases for migration
        • HAL SMARTCARD constants migration
        • HAL SMARTCARD macro migration
        • HAL SMARTCARD types migration
        • HAL SMARTCARD initialization and configuration functions migration
        • HAL SMARTCARD I/O operations migration
        • HAL SMARTCARD control functions migration
        • HAL SMARTCARD state and error functions migration
        • HAL SMARTCARD APIs listing for migration
      • SMBUS
        • HAL SMBUS migration: List of applicable concepts
        • Typical HAL SMBUS use cases for migration
        • HAL SMBUS constants migration
        • HAL SMBUS macro migration
        • HAL SMBUS types migration
        • HAL SMBUS initialization and configuration functions migration
        • HAL SMBUS io operation functions migration
        • HAL SMBUS IRQ Handler and Callbacks Functions Migration
        • HAL SMBUS state and error functions migration
        • HAL SMBUS APIs listing for migration
      • SPDIFRX
        • HAL SPDIFRX migration: List of applicable concepts
        • HAL SPDIFRX Typical use cases for migration
        • HAL SPDIFRX constants migration
        • HAL SPDIFRX macros migration
        • HAL SPDIFRX types migration
        • HAL SPDIFRX initialization and configuration functions migration
        • HAL SPDIFRX I/O operation function migration
        • HAL SPDIFRX control functions migration
        • HAL SPDIFRX IRQ handler and callbacks functions migration
        • HAL SPDIFRX state and error functions migration
        • HAL SPDIFRX APIs listing for migration
      • SPI
        • HAL SPI migration: List of applicable concepts
        • Typical HAL SPI use cases for migration
        • HAL SPI constants migration
        • HAL SPI macro migration
        • HAL SPI types migration
        • HAL SPI initialization and configuration functions migration
        • HAL SPI I/O operation functions
        • HAL SPI state and error functions migration
        • HAL SPI callbacks register/unregister functions
        • HAL SPI APIs listing for migration
      • SRAM
        • HAL SRAM migration: List of applicable concepts
        • Typical HAL SRAM use cases for migration
        • HAL SRAM macros migration
        • HAL SRAM types migration
        • HAL FMC SRAM initialization and configuration functions migration
        • HAL SRAM io operation functions migration
        • HAL SRAM control functions migration
        • HAL SRAM state functions migration
        • HAL SRAM APIs listing for migration
      • TIM
        • HAL TIM migration: List of applicable concepts
        • Typical HAL TIM use cases for migration
        • HAL TIM constants migration
        • HAL TIM macro migration
        • HAL TIM types migration
        • HAL TIM initialization and configuration functions migration
        • HAL TIM I/O operation function migration
        • HAL TIM control functions migration
        • HAL TIM IRQ handler and callbacks functions migration
        • HAL TIM state and error functions migration
        • HAL TIM APIs listing for migration
      • UART
        • HAL UART migration: List of applicable concepts
        • Typical HAL UART use cases for migration
        • HAL UART constants migration
        • HAL UART macro migration
        • HAL UART types migration
        • HAL UART initialization and configuration functions migration
        • HAL UART I/O operations migration
        • HAL UART control functions migration
        • HAL UART state and error functions migration
        • HAL UART APIs listing for migration
      • USART
        • HAL USART migration: List of applicable concepts
        • Typical HAL USART use cases for migration
        • HAL USART constants migration
        • HAL USART macro migration
        • HAL USART types migration
        • HAL USART initialization and configuration functions migration
        • HAL USART I/O operations migration
        • HAL USART control functions migration
        • HAL USART state and error functions migration
        • HAL USART APIs listing for migration
      • WWDG
        • HAL WWDG migration: List of applicable concepts
        • HAL WWDG Typical Use Cases for Migration
        • HAL WWDG constants migration
        • HAL WWDG macro migration
        • HAL WWDG types migration
        • HAL WWDG initialization and configuration functions migration
        • HAL WWDG io operation functions migration
        • HAL WWDG Callbacks Register/Unregister functions migration
        • HAL WWDG APIs listing for migration
      • XSPI
        • HAL XSPI migration: List of applicable concepts
        • HAL XSPI typical use cases for migration
        • HAL XSPI constants migration
        • HAL XSPI macro migration
        • HAL XSPI types migration
        • HAL XSPI initialization and configuration functions migration
        • HAL XSPI delay block functions migration
        • HAL XSPI IO operation functions migration
        • HAL XSPI state and control functions migration
        • HAL XSPI callback functions migration
        • HAL XSPI high-speed interface and calibration functions migration
        • HAL XSPI APIs listing for migration
    • LL driver migration
      • ADC
        • LL ADC APIs listing for migration
        • LL_ADC_Init and LL_ADC_DeInit APIs migration
      • COMP
        • LL COMP APIs listing for migration
        • LL_COMP_Init and LL_COMP_DeInit APIs migration
      • CORDIC
        • LL CORDIC APIs listing for migration
        • LL_CORDIC_DeInit API migration
      • CORTEX
        • LL CORTEX APIs listing for migration
      • CRC
        • LL CRC APIs listing for migration
        • LL_CRC_DeInit API migration
      • CRS
        • LL CRS APIs listing for migration
        • LL_CRS_DeInit API migration
      • DAC
        • LL DAC APIs listing for migration
        • LL_DAC_Init and LL_DAC_DeInit APIs migration
      • DCACHE
        • LL DCACHE APIs listing for migration
      • DMA
        • LL DMA APIs listing for migration
        • LL_DMA_Init and LL_DMA_DeInit APIs migration
        • LL DMA secure attributes settings APIs migration
      • DMA2D
        • LL DMA2D APIs listing for migration
        • LL_DMA2D_Init and LL_DMA2D_DeInit APIs migration
      • EXTI
        • LL EXTI APIs listing for migration
        • LL_EXTI_Init and LL_EXTI_DeInit APIs migration
      • FMAC
        • LL FMAC APIs listing for migration
        • LL_FMAC_Init and LL_FMAC_DeInit APIs migration
      • GENERIC
        • LL SYSTEM APIs listing for migration
      • GPIO
        • LL GPIO APIs listing for migration
        • LL_GPIO_Init and LL_GPIO_DeInit APIs migration
      • HRTIM
        • LL HRTIM APIs listing for migration
        • LL_HRTIM_Init and LL_HRTIM_DeInit APIs migration
      • HSEM
        • LL HSEM APIs listing for migration
        • LL HSEM function API migration
      • I2C
        • LL I2C APIs listing for migration
        • LL_I2C_Init and LL_I2C_DeInit APIs migration
        • LL I2C function API migration
      • I3C
        • LL I3C APIs listing for migration
        • LL_I3C_Init and LL_I3C_DeInit APIs migration
      • ICACHE
        • LL ICACHE APIs listing for migration
        • LL ICACHE init and ICACHE deinit for migration
      • IWDG
        • LL IWDG APIs listing for migration
      • LPTIM
        • LL LPTIM APIs listing for migration
        • LL_LPTIM_Init and LL_LPTIM_DeInit APIs migration
      • LPUART
        • LL LPUART APIs listing for migration
        • LL_LPUART_Init and LL_LPUART_DeInit APIs migration
      • OPAMP
        • LL OPAMP APIs listing for migration
        • LL_OPAMP_Init and LL_OPAMP_DeInit APIs migration
      • PKA
        • LL PKA APIs listing for migration
        • LL_PKA_Init and LL_PKA_DeInit APIs migration
      • PLAY
        • LL_PLAY_DeInit APIs migration
        • LL PLAY APIs listing for migration
      • PWR
        • LL PWR APIs listing for migration
        • LL_PWR_DeInit APIs migration
      • RCC
        • LL RCC APIs listing for migration
        • LL_RCC_DeInit API migration
        • LL_RCC_GetSystemClocksFreq API migration
        • LL_RCC_GetPPPClockFreq APIs migration
      • RNG
        • LL RNG APIs listing for migration
        • LL_RNG_Init and LL_RNG_DeInit APIs migration
      • RTC
        • LL RTC APIs listing for migration
        • LL_RTC_Init and LL_RTC_DeInit APIs migration
      • SPI
        • LL SPI APIs listing for migration
        • LL_SPI_Init and LL_SPI_DeInit APIs migration
      • TIM
        • LL TIM APIs listing for migration
        • LL_TIM_Init and LL_TIM_DeInit APIs migration
      • USART
        • LL USART APIs listing for migration
        • LL_USART_Init and LL_USART_DeInit APIs migration
      • WWDG
        • LL WWDG APIs listing for migration
  • Migration example
    • STM32C5
      • Migration example introduction
      • STM32CubeMX2 settings
      • Configure IDE Project Settings
      • Execute the automatic detection script
      • Resolve HAL1 detected references
      • Alternative option using Stubbing
    • STM32H7P
      • Migration example introduction
      • STM32CubeMX2 settings
      • Configure IDE Project Settings
      • Execute the automatic detection script
      • Resolve HAL1 detected references
      • Alternative option using Stubbing
    • STM32G5
      • Migration example introduction
      • STM32CubeMX2 settings
      • Configure IDE Project Settings
      • Execute the automatic detection script
      • Resolve HAL1 detected references
      • Alternative option using Stubbing
  1. HAL2 Migrator /
  2. HAL1-to-HAL2 driver migration /
  3. LL driver migration /
  4. OPAMP

OPAMP ¶

This section provides information about the migration APIs of the LL OPAMP driver.

  • LL OPAMP APIs listing for migration
  • LL_OPAMP_Init and LL_OPAMP_DeInit APIs migration
Previous
LL_LPUART_Init and LL_LPUART_DeInit APIs migration
Next
LL OPAMP APIs listing for migration

© Copyright 2026, STMicroelectronics.

Built with Sphinx and the Shibuya theme.